package com.dalao.root.custom.service;

import com.dalao.root.custom.entity.CusField;
import com.dalao.root.custom.entity.CusWhere;

import java.util.List;
import java.util.Map;

public interface DataService {
    public Integer insertData(String table, Map<String,String> data);
    public boolean deleteData(String table, List<Map<String,String>> where);
    public boolean updateData(String table, Map<String,String> data, List<Map<String,String>> where);
    public Object selectData(String table, List<CusField> field, List<Map<String,String>> where);
    public List<Object> selectDataList(String table, List<CusField> field, List<Map<String,String>> where);
}
